package com.mediastory.spsserver.notice.service;

import java.util.List;
import java.util.Map;

import com.mediastory.spsserver.notice.domain.Notice;

/**
 * Notice Svc
 * @author Jaewon Choi
 *
 */

public interface NoticeSvc {
	
	public List<Notice> findbyList(Map<String, Object> condition) throws Exception;
	
	public Map<String, Object> findbyListPaging(Map<String, Object> condition) throws Exception;
	
	public Notice findby(Integer idx) throws Exception;
	
	public Notice findby(Map<String, Object> condition) throws Exception;
	
	public Notice add(Notice notice) throws Exception;
	
	public Notice modify(Notice notice) throws Exception;
	
	public int remove(Map<String, Object> condition) throws Exception;
	
	public int modifyIsMain(Integer idx) throws Exception;

}